<#--
* Date
-->
<#macro Date path labelText=path type="text" display="layui-input-block" required=""  aux="" attributes="">
  <@spring.bind path/>
  <#assign id="${spring.status.expression?replace('[','')?replace(']','')}">
  <div class="layui-form-item">
    <label class="layui-form-label" for="${id}">
        <#if required?contains("required")><b style="color:red;padding:2px;vertical-align: middle;">*</b></#if>${labelText}
    </label>
    <div class="${display}">
        <div class="input-group">
            <input class="layui-input" type="${type}" id="${id}"  autocomplete="off" placeholder="请选择${labelText}"
                name="${spring.status.expression}" value="${spring.stringStatusValue}" style="min-width:190px;" 
                lay-verify="${required}" lay-verType="tips" lay-reqText="请选择${labelText}" ${attributes}>
            <span class="input-group-addon">
                <i class="layui-icon layui-icon-date"></i>
            </span>
        </div>
        <#nested>
    </div>
    <#if aux?has_content><div class="layui-form-mid layui-word-aux" style="margin-left:30px;">${aux}</div></#if>
  </div>
</#macro>


/**
 * DateQuery
 */
<#macro DateQuery path labelText=path type="text" class="" attributes="">
  <@spring.bind path/>
  <#assign id="${spring.status.expression?replace('[','')?replace(']','')}">
     <div class="layui-form-item margin-5">
        <label class="layui-form-label" for="${id}">${labelText}</label>
        <div class="layui-input-inline">
            <input class="layui-input width-190 ${class}" type="${type}" id="${id}" autocomplete="off" placeholder="请选择${labelText}"
                name="${spring.status.expression}" value="${spring.stringStatusValue}" ${attributes}>
            <#nested>
        </div>
    </div>
</#macro>
